#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>
#include <QDir>
#include <QFileDialog>
#include <QDebug>
#include <QAbstractButton>
#include <QPushButton>
#include <QGridLayout>
#include <QLabel>
#include <QComboBox>
#include <QTableWidget>
#include <QHeaderView>
#include <QContextMenuEvent>


QT_BEGIN_NAMESPACE
class QComboBox;
class QLabel;
class QPushButton;
class QTableWidget;
class QTableWidgetItem;
QT_END_NAMESPACE

class Window : public QWidget
{
    Q_OBJECT

public:
    Window(QWidget *parent = nullptr);
    ~Window();

private slots:
    void browse();
    void find();

private:
    QComboBox* createComboBox(const QString& text);
    void createFilesTable();
    QPushButton* findButton;
    QComboBox* fileComboBox;
    QComboBox* directoryComboBox;
    QLabel* resultLable;

    QTableWidget* filesTable;
};
#endif // WINDOW_H
